<?php 
require_once 'include/prepend.php';

//var_dump(BDville::get());
//BDville::toCSV();
$id = (isset($_REQUEST['id'])) ? $_REQUEST['id'] : null;
$id = 1;
if($id == null) {
	header('location:index.php');
}

$entreprise 				= new BDentreprise($id);
$categorie_entreprise 		= new BDcategorie($entreprise->getId_gategori());
$sous_categorie_entreprise	= new BDsous_categori($entreprise->getId_gategori());
$Forme_juridique 			= new BDforme_juridique($entreprise->getId_forme_juridique());
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<meta http-equiv="Content-Language" content="fr" />
<meta name="robots" content="index,follow" />


<title>nom de l'entreprise Entreprise Tunisienne</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>

<table width="1024" border="1" cellpadding="0" cellspacing="0" align="center" style=" background-color:#FFF;">
<tr><td>
<?php require_once 'entet_page.php';?>

</td></tr>
<tr><td height="30">menu</td></tr>
<tr><td>
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr><td height="80"><?php require_once 'formulaire_recherche.php'; ?> </td><td style="background-image:url(images/inscrivez-vous.png); width:314px; height:97px;" valign="top">
<div style="margin-left:10px; margin-top:3px;">
<table border="0" cellpadding="0" cellspacing="0">
<tr><td><span class="titreOranger">Inscrivez-vous</span></td></tr>
<tr>
  <td style="height:40px;">Créez gratuitement votre compte.</td></tr>
<tr><td><a href="membre/inscription.php"><img src="images/btn-creerCompte.gif" alt="Créez gratuitement votre compte" border="0" /></a></td></tr>
</table>
</div>
</td></tr></table>
</td></tr>
<tr><td>
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
  <td height="80">gatégorie de l annuaire Listes des catégorie de l'annuaire : <br>
    <?php require_once "categorie_list.php"; ?> </td>
  <td valign="top" style="width:314px;"><table width="100%" border="1" cellpadding="0" cellspacing="0">
  <tr><td height="40">connexion espace membre</td></tr>
  <tr><td height="40">newsletter</td></tr>
  </table>
  </td></tr></table>
</td></tr>
<tr><td>
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr><td class="menuEpresse"><?php require_once 'menu_expresse.php'; ?></td>
<td valign="top">



<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
  <td>Accueil -><?php echo $categorie_entreprise->getLibelle_categori(); ?>-><?php echo $sous_categorie_entreprise->getLibelle_sous_categori();?></td></tr>
<tr><td height="400" valign="top">





<table width="100%" border="1" cellpadding="0" cellspacing="0">
<caption>Information générale</caption><tr><td>

<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr><td width="100">logo</td>
<td>


<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
  <td width="80" height="25">nom societe :</td><td><?php echo $entreprise->getNom_societe(); ?></td>
  <td width="100">Type</td><td colspan="3"><?php echo $Forme_juridique->getLibelle(); ?></td></tr>
<tr>
  <td height="25">Adresse :</td><td><?php echo $entreprise->getAdresse(); ?></td>
  <td> Ville</td><td><?php 
  $ville = new BDville($entreprise->getId_ville());
  echo $ville->getNom_ville(); ?></td>
  <td width="80"> Code postal </td><td><?php $entreprise->getCode_postal();?></td></tr>
<tr>
  <td height="25">Tel</td><td><?php $entreprise->getTel(); ?></td>
  <td> Fax</td><td colspan="3"><?php $entreprise->getFax(); ?></td></tr>
<tr>
  <td height="25">SIREN/SIRET </td><td><?php echo $entreprise->getSiret(); ?></td>
  <td> Responsable</td><td colspan="3"></td></tr>
<tr>
  <td height="25">Email</td><td><?php echo $entreprise->getEmail(); ?></td>
  <td>Site web</td><td colspan="3"><?php echo $entreprise->getUrl_site(); ?></td></tr>

</table></td></tr>
<tr><td colspan="2">Description:</td></tr>
</table>

</td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<caption>Géolocalisation avec google maps</caption>
<tr><td>maps</td></tr>
<tr><td height="150">carte</td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<caption>Fiche identité</caption>
<tr>
  <td width="80" height="25">Matricule fiscale  </td><td><?php echo $entreprise->getMatricule_fiscale(); ?></td>
  <td width="100">	Registre commerce</td><td><?php echo $entreprise->getRegistre_commerce(); ?></td></tr>
<tr>
  <td height="25">Date de creation  </td><td><?php echo $entreprise->getDate_creation(); ?></td>
  <td width="100">Effectif</td><td><?php echo $entreprise->getEffectif(); ?></td></tr>
<tr>
  <td height="25">Capital </td><td><?php echo $entreprise->getCapital(); ?></td>
  <td width="100"> Chiffre d'affaire</td><td><?php echo $entreprise->getChiffre_affaire(); ?></td></tr>

</table>


<table width="100%" border="0" cellpadding="0" cellspacing="0">
<caption>liste des etablissement</caption>
<tr><td>etablissement</td><td> 	adresse</td><td>ville</td><td> code postale:</td></tr>
</table>


<table width="100%" border="0" cellpadding="0" cellspacing="0">
<caption>Equipe de direction:</caption>
<tr><td height="25">civilite : 	nom :  prenom: fonction:
</td></tr>
</table>


<table width="100%" border="0" cellpadding="0" cellspacing="0">
<caption>Vitrine (liste des produits):</caption>
<tr><td rowspan="2">photo :</td><td height="25">libelle produit</td></tr>
<tr><td> 	description:</td></tr>

</table>

</td></tr>
</table> 




</td>
<td class="barrePub"><?php require_once 'barre_pub.php'; ?></td>

</tr></table>
</td></tr>
<tr><td height="60">
<?php require_once 'logo_list_entreprise.php'; ?>
</td></tr>
<tr><td height="30"><?php  require_once 'footer_page.php'; ?></td></tr>
</table>
</body>
</html>